package com.mvprxjavartrofit.base.util;

import com.mvprxjavartrofit.entity.HttpResult;

import rx.functions.Func1;

/**
 * Created by Administrator
 * At 2016/10/20/11:14/2016
 * Project test
 */
public class HttpResultFunc<T> implements Func1<HttpResult<T>, T> {
    @Override
    public T call(HttpResult<T> result) {
        return result.getData();
    }
}
